<?php

namespace App\Models;


class TagTaxonomy extends Model
{
    protected $table = 'tag_taxonomies';

    protected $fillable = [
        'name',
        'icon',
        'display_order',
    ];

    public function tags()
    {
        return $this->hasMany(Tag::class, 'taxonomy_id', 'id');
    }
}
